Skip to content

Update reactivity-fundamentals.md #1608

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 10, 2022
Merged

Conversation

WangNingning1994
Copy link
Contributor

In the DOM Update Timing section's example, it seems we should use state.count++(which has been shown above) instead of count.value++(which comes later).

Description of Problem

Proposed Solution

Additional Information

In the DOM Update Timing section's example, it seems we should use state.count++(which has been shown above) instead of count.value++(which comes later).
@netlify
Copy link

netlify bot commented Mar 9, 2022

✔️ Deploy Preview for vuejs ready!

🔨 Explore the source changes: e81911a

🔍 Inspect the deploy log: https://app.netlify.com/sites/vuejs/deploys/62280dfe7e209f0007b6f9ec

😎 Browse the preview: https://deploy-preview-1608--vuejs.netlify.app

Copy link
Contributor

@skirtles-code skirtles-code left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

I've a feeling this part was originally further down the page, after the bits about ref. In that context, count.value would have made sense. In its present location it makes much more sense to use state.count.

@skirtles-code skirtles-code merged commit efa7ff9 into vuejs:main Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants